package com.lin.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lin.entity.Userinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.entity.UserinfoDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author lin
 * @since 2022-06-17
 */
@Mapper
public interface UserinfoMapper extends BaseMapper<Userinfo> {

    Page<UserinfoDto> getUserinfo(@Param("page") Page<UserinfoDto> page, @Param("condition") Integer condition, @Param("key") String key);

}
